<?php
/* 
 * $Id: field.php 11 2010-11-24 22:10:53Z LEON $
 * $Author: LEON $
 * $LastChangedDate: 2010-11-24 22:10:53 +0000 (Wed, 24 Nov 2010) $
 * $Revision: 11 $
 */
namespace cmFly\db\sql_constructors;
class field implements iExternal_parsed {
    /**
     *
     * @param query $model
     * @param string $field
     */
    protected $q;
    protected $field;
    public function __construct(query $query,$field) {
	$this->q=$query;
	$this->field=$field;
    }
    public function get_value() {
	$column_quote_style=$this->q->get_column_quote_style();
	return $column_quote_style.$this->q->get_pseudo_name().$column_quote_style.'.'.$column_quote_style.$this->field.$column_quote_style;
    }
}